Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Feb 25, 2025

Description

This is my default browser after installing Git on windows. Detecting it instead of falling back to cmd.exe improves Roo Code's ability to figure out which commands to run initially.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist:

  • My code follows the patterns of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Additional context

Related Issues

Reviewers


Important

Add detection for Git Bash on Windows in shell detection logic and update tests accordingly.

  • Behavior:
    • Detects Git Bash on Windows in getWindowsShellFromVSCode() in shell.ts.
    • Returns /usr/bin/bash if profile source is "Git Bash" or name includes "git bash".
  • Tests:
    • Adds tests in shell.test.ts for Git Bash detection based on profile source and name.
    • Ensures fallback to cmd.exe if no special profile is matched.
  • Misc:
    • Updates getShellFromEnv() in shell.ts to prioritize SHELL over COMSPEC on Windows.

This description was created by Ellipsis for 88f6f91. It will automatically update as commits are pushed.

@cte cte requested a review from mrubens as a code owner February 25, 2025 22:18
@changeset-bot
Copy link

changeset-bot bot commented Feb 25, 2025

⚠️ No Changeset found

Latest commit: 88f6f91

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 25, 2025
@dosubot dosubot bot added the enhancement New feature or request label Feb 25, 2025
refactorthis pushed a commit to refactorthis/Roo-Code that referenced this pull request Mar 2, 2025
…nc#1197)

* feat: Support for listing models from OpenAI-compatible providers

* PR-related change:  remove includeStreamOptions

* prettier

* remove unnecessary code

* german + translation tweak
@hannesrudolph hannesrudolph moved this to To triage in Roo Code Roadmap Mar 5, 2025
@hannesrudolph hannesrudolph moved this from To triage to PR - Needs Approval in Roo Code Roadmap Mar 6, 2025
@mrubens
Copy link
Collaborator

mrubens commented Mar 10, 2025

Sorry to miss this! Is this still something we want to merge?

@cte
Copy link
Collaborator Author

cte commented Mar 10, 2025

Sorry to miss this! Is this still something we want to merge?

Roo wasn't able to figure out my terminal type initially on Windows (it recovered after running a command). I stopped using Git Bash on windows though, and I haven't seen anyone complain about this issue, so fine to close out for now.

@cte cte closed this Mar 10, 2025
@github-project-automation github-project-automation bot moved this from PR [Pre Approval Review] to Done in Roo Code Roadmap Mar 10, 2025
@cte cte deleted the cte/improve-windows-shell-detection branch March 10, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants